home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
comm
/
mail
/
ems1_0_exec.lha
/
Rexx
/
Automaint.ems
< prev
next >
Wrap
Text File
|
1993-06-01
|
558b
|
36 lines
/* AutoMaint.ems */
options results
signal on error
signal on syntax
parse arg areas
if( ~show( 'l', "ems_rexx.library" ) ) then
do
if( ~addlib( "ems_rexx.library", 0, -30, 0 ) )then
do
say "Could not open ems_rexx.library"
exit 10
end
end
if areas = '' then areas = '#?'
call EMS_Database_Automaint( areas, 'MSG' )
call EMS_FreeScriptData()
exit 0
error:
syntax:
error_text = EMS_LastError()
if error_text = '' then error_text = rc ErrorText( rc )
say '| ***BREAK: error at' sigl error_text
call EMS_FreeScriptData()
exit rc